<div class="container" [ngStyle]="{'height': sliderHeight}">
  <div class="image-slide" (scroll)="handleScroll($event)" #imageSlider>
    <img 
      #img
      *ngFor="let slide of slides" 
      [src]="slide.imgUrl" 
      [alt]="slide.captiom"
    >
  </div>
  <div class="nav-section">
    <span *ngFor="let _ of slides; let idx = index;" class="slide-button"
      [ngClass]="{'slide-button-select': idx === selectedIndex}"
    >

    </span>
  </div>
</div>
